package com.sisbibvir.unmsm.entidades;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the lineatesis database table.
 * 
 */
@Entity
@Table(name="lineatesis")
public class Lineatesi implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	//bi-directional many-to-one association to LineaDeInvestigacion
	@ManyToOne
	@JoinColumn(name="linea_de_investigacion_id")
	private LineaDeInvestigacion lineaDeInvestigacion;

	//bi-directional many-to-one association to Tesi
	@ManyToOne
	@JoinColumn(name="tesis_id")
	private Tesi tesi;

	public Lineatesi() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public LineaDeInvestigacion getLineaDeInvestigacion() {
		return this.lineaDeInvestigacion;
	}

	public void setLineaDeInvestigacion(LineaDeInvestigacion lineaDeInvestigacion) {
		this.lineaDeInvestigacion = lineaDeInvestigacion;
	}

	public Tesi getTesi() {
		return this.tesi;
	}

	public void setTesi(Tesi tesi) {
		this.tesi = tesi;
	}

}